package com.elinshaw.pattern.event;

/**
 * @author Administrator
 */
public class AsyncResultEventHandler extends AsyncChannel<ResultEvent> {

    @Override
    protected void handle(Event message) {
        ResultEvent resultEvent = (ResultEvent) message;
        System.out.println(resultEvent.getResult());
    }


}
